package org.mms.service;

import org.mms.pojo.dto.AnnouncementDto;
import org.mms.pojo.entity.Announcement;
import org.mms.pojo.request.AnnouncementRequest;

import java.util.List;

public interface AnnouncementService {
    List<Announcement> list();
    Announcement getById(Long id);
    Announcement create(AnnouncementRequest request);
    Announcement update(AnnouncementRequest request);
    void delete(Long id);
}